

var num=0
var over=false
 

b=setInterval(function(){
    var a=document.querySelector('.woaini')


    if(num>=95 &&!over) return
   
   num++
   if(a){a.style.width=num+'%'}
   else{
var a=document.createElement('div')

a.style.height=5+'px'
a.style.position='absolute'
a.style.top=0
a.style.width=num+'%'
a.className='woaini'
a.style.background='#29d'
document.body.appendChild(a)
nprogressRadius = document.createElement('div')
        nprogressRadius.className = 'nprogressRadius'
        document.body.appendChild(nprogressRadius)
   }
    if(num>=100){
     document.body.removeChild(a)
   clearInterval(b)
    document.body.removeChild(nprogressRadius)
 }
   
},10)

window.addEventListener('load',function(){over=true})
